/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package commands;
import IA.*;
/**
 *
 * @author jmille80
 */
public class CmdGetTotalNumCustomers extends Command {

    public CmdGetTotalNumCustomers(InformationAggregator ia) {
        super(ia);
    }
    
    @Override
    public Integer execute() {
        return (ia.getServiceCollection().getNumCompletedServices() + 
                ia.getServiceCollection().getNumServices());
    }
    
}
